package Demo03;

import java.util.ArrayList;


public class Main {
}

class Solution {
    public static int minStickers(String[] stickers, String target) {
        ArrayList<String>[] arr = new ArrayList[26];
        for (int i = 0; i < stickers.length; i++) {
            String s = stickers[i];
            arr[s.charAt(0)-'a'].add(s);
            for (int j = 1; j < s.length(); j++) {
                if(s.charAt(j)!=s.charAt(j-1)) {
                    arr[s.charAt(j)-'a'].add(s);
                }
            }
        }


        return 0;
    }
    private static int f(String target, ArrayList<String>[] arr) {
        if(target=="") {
            return 0;
        }
//        target = f1(target, arr);
        return 0;
    }

//    private static String f1(String target, ArrayList<String>[] arr) {
//
//    }

}
